package cn.spring.user.service;

import cn.spring.user.dao.IUserDao;
import cn.springweb.domain.User;

/**
 * @Author: mayuanbao
 * @Date: 2018-11-23 14:14
 * @Description:
 */
public class UserServiceImpl implements IUserService {
    private IUserDao dao;

    public void setDao(IUserDao dao) {
        this.dao = dao;
    }
    @Override
    public void query(User user) {
        dao.query(user);
    }
    public void save(User user) {
        dao.save(user);
    }
}
